<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>示例2</title>
    <style>
        #a1{
            width:290px;
            height:700px;
        }
        h3{
            background-color: red;
        }
        a{
            background-color: lightgrey;
            display: inline-block;
            width: 30px;
            height: 30px;
            color: blue;
            text-align: center;
            line-height: 30px;
            border-radius: 50%;
            text-decoration: none;
        }
     p{
        /* display: inline-block; */
     }
    </style>
</head>
<body>
    <br id="a1">
        <h3>大家都喜欢买的美容品</h3>
        <a href="#">1</a><p>雅诗兰黛即时修护眼部精华霜15ml</p>
        <a href="#">2</a><p>伊丽莎白雅顿显效复合活肤霜75ml</p>
        <a href="#">3</a><p>OLAY玉兰油多效修护霜50g</p>
        <a href="#">4</a><p>巨型一号丝瓜水320ml</p>
        <a href="#">5</a><p>倩碧保湿爽肤水2号200ml</p>
        <a href="#">6</a><p>比度克细肤淡印霜30g</p>
        <a href="#">7</a><p>兰芝夜间修护锁水面膜80ml</p>
        <a href="#">8</a><p>SK-II护肤精华霜215ml</p>
        <a href="#">9</a><p>欧莱雅青春密码活颜精华肌底液</p>
    </div>
</body>
</html>